/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.structural.adapter.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.structural.adapter.TempretureClassReporter;
import za.ac.cput.DesignPatterns.structural.adapter.TempretureObjectReporter;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class AdapterConf {
    
    @Bean 
    public TempretureClassReporter tcr(){ 
    return new TempretureClassReporter();
    }   
    @Bean 
    public TempretureObjectReporter tor(){
    return new TempretureObjectReporter();
    }
}
